package org.wdcode.base.struts.validators;

import com.opensymphony.xwork2.validator.validators.RegexFieldValidator;

import org.wdcode.common.constants.RegexConstants;

/**
 * 验证手机
 * @author WD
 * @since JDK6
 * @version 1.0 2009-09-15
 */
public final class MobileValidator extends RegexFieldValidator {
	/**
	 * 构造方法
	 */
	public MobileValidator() {
		// 设置正则表达式
		setExpression(RegexConstants.MOBILE);
	}
}